/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.siteEncheres.server.utilisateur;

import com.google.gwt.user.server.rpc.RemoteServiceServlet;
import domain.Utilisateur;

import org.siteEncheres.client.utilisateur.GwtUtilisateur;

/**
 *
 * @author Pierre
 */
public class GwtUtilisateurImpl extends RemoteServiceServlet implements GwtUtilisateur {

    public String myMethod(String s) {
        // Do something interesting with 's' here on the server.
        return "Server says: " + s;
    }
    
    public void inscrireUtilisateur(Utilisateur u) {
        System.out.println("--------------- test inscription --------------------");
        System.out.println(u.getNom());
        System.out.println(u.getPrenom());
        System.out.println(u.getRue());
        System.out.println(u.getVille());
        System.out.println(u.getTelephone());
        System.out.println(u.getEmail());
        System.out.println(u.getLogin());
        System.out.println(u.getMotDePasse());
        System.out.println("-----------------------------------------------------");
    }
}
